package com.krtech.wecard.module.mayi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@ApiModel(value = "com-krtech-wecard-module-mayi-entity-MayiDianzanCount")
@Data
@TableName(value = "mayi_dianzan_count")
public class MayiDianzanCount implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 创建人
     */
    @TableField(value = "CREATED_BY")
    @ApiModelProperty(value = "创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATED_TIME")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATED_BY")
    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATED_TIME")
    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;

    /**
     * 订单id外键
     */
    @TableField(value = "fk_pay_list_id")
    @ApiModelProperty(value = "订单id外键")
    private Integer fkPayListId;

    /**
     * 计数
     */
    @TableField(value = "count")
    @ApiModelProperty(value = "计数")
    private Integer count;

    /**
     * 状态
     */
    @TableField(value = "status")
    @ApiModelProperty(value = "状态")
    private String status;

    /**
     * 是否检查，0:否，1:是
     */
    @TableField(value = "has_check")
    @ApiModelProperty(value = "是否检查，0:否，1:是")
    private Integer hasCheck;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_CREATED_BY = "CREATED_BY";

    public static final String COL_CREATED_TIME = "CREATED_TIME";

    public static final String COL_UPDATED_BY = "UPDATED_BY";

    public static final String COL_UPDATED_TIME = "UPDATED_TIME";

    public static final String COL_FK_PAY_LIST_ID = "fk_pay_list_id";

    public static final String COL_COUNT = "count";

    public static final String COL_STATUS = "status";

    public static final String COL_HAS_CHECK = "has_check";
}